package cn.bugstack.domain.strategy.service.rule.chain;

/**
 * @Title: AbstractLogicChain
 * @Description:
 * @author: jiangta
 * @date: 2024/10/29 下午5:31
 * @Version: 1.0
 */
public abstract class AbstractLogicChain implements ILogicChain {

    private ILogicChain next;

    @Override
    public ILogicChain next() {
        return next;
    }

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    protected abstract String ruleModel();
}